<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<meta name="layout" content="main"/>
<title>Página de Login</title>
</head>
<body>
  <div class="body">
  	${flash.message}
  	<table class="table table-hover table-striped">
  		<thead>
  			<tr>
  				<th>Nome</th>
  				<th>Professor</th>
  				<th>Curso</th>
  				<th>&nbsp;</th>
  			</tr>
  		</thead>
  		<tbody>
		  	<g:each in="${listaDisciplina}" var="disciplina">
		  		<tr>
	  				<td>${disciplina.nome}</td>
	  				<td>${disciplina.professor.nome}</td>
	  				<td>${disciplina.curso.nome}</td>
	  				<th><g:link action="lancarNota" id="${disciplina.id}" class="btn btn-primary">Lançar</g:link></th>
  				</tr>
		  	</g:each>
	  	</tbody>
  	</table>
  
  </div>
</body>
</html>